package com.zycfc.zsf.boot.logback.core;

import java.io.*;
import com.zycfc.zsf.boot.logback.consts.*;
import org.slf4j.*;

public class RuleTranInf implements Serializable
{
    private static final Logger log;
    private static final long serialVersionUID = 1L;
    private String flowId;
    private String bizId;
    private String tranCd;
    private String idNo;
    private String name;
    private String channelNo;
    private String ip;
    private String sendTime;
    private String receiveTime;
    private String requestData;
    private String responseData;
    private String respCode;
    private String exeSts;
    private String grayscaleFlag;
    
    public RuleTranInf(final RuleTranBuilder builder) {
        this.flowId = builder.getFlowId();
        this.bizId = builder.getBizId();
        this.tranCd = builder.getTranCd();
        this.idNo = builder.getIdNo();
        this.name = builder.getName();
        this.channelNo = builder.getChannelNo();
        this.ip = builder.getIp();
        this.sendTime = builder.getSendTime();
        this.receiveTime = builder.getReceiveTime();
        this.requestData = builder.getRequestData();
        this.responseData = builder.getResponseData();
        this.exeSts = builder.getExeSts();
        this.respCode = builder.getRespCode();
        this.grayscaleFlag = builder.getGrayscaleFlag();
    }
    
    @Override
    public String toString() {
        return LogTypeEnum.RULETRAN + "@@@" + this.flowId + "#@%@#" + this.bizId + "#@%@#" + this.tranCd + "#@%@#" + this.idNo + "#@%@#" + this.name + "#@%@#" + this.channelNo + "#@%@#" + this.ip + "#@%@#" + this.sendTime + "#@%@#" + this.receiveTime + "#@%@#" + this.requestData + "#@%@#" + this.responseData + "#@%@#" + this.exeSts + "#@%@#" + this.respCode + "#@%@#" + this.grayscaleFlag;
    }
    
    public void setFlowId(final String flowId) {
        this.flowId = flowId;
    }
    
    public void setBizId(final String bizId) {
        this.bizId = bizId;
    }
    
    public void setTranCd(final String tranCd) {
        this.tranCd = tranCd;
    }
    
    public void setIdNo(final String idNo) {
        this.idNo = idNo;
    }
    
    public void setName(final String name) {
        this.name = name;
    }
    
    public void setChannelNo(final String channelNo) {
        this.channelNo = channelNo;
    }
    
    public void setIp(final String ip) {
        this.ip = ip;
    }
    
    public void setSendTime(final String sendTime) {
        this.sendTime = sendTime;
    }
    
    public void setReceiveTime(final String receiveTime) {
        this.receiveTime = receiveTime;
    }
    
    public void setRequestData(final String requestData) {
        this.requestData = requestData;
    }
    
    public void setResponseData(final String responseData) {
        this.responseData = responseData;
    }
    
    public void setRespCode(final String respCode) {
        this.respCode = respCode;
    }
    
    public void setExeSts(final String exeSts) {
        this.exeSts = exeSts;
    }
    
    public void setGrayscaleFlag(final String grayscaleFlag) {
        this.grayscaleFlag = grayscaleFlag;
    }
    
    public String getFlowId() {
        return this.flowId;
    }
    
    public String getBizId() {
        return this.bizId;
    }
    
    public String getTranCd() {
        return this.tranCd;
    }
    
    public String getIdNo() {
        return this.idNo;
    }
    
    public String getName() {
        return this.name;
    }
    
    public String getChannelNo() {
        return this.channelNo;
    }
    
    public String getIp() {
        return this.ip;
    }
    
    public String getSendTime() {
        return this.sendTime;
    }
    
    public String getReceiveTime() {
        return this.receiveTime;
    }
    
    public String getRequestData() {
        return this.requestData;
    }
    
    public String getResponseData() {
        return this.responseData;
    }
    
    public String getRespCode() {
        return this.respCode;
    }
    
    public String getExeSts() {
        return this.exeSts;
    }
    
    public String getGrayscaleFlag() {
        return this.grayscaleFlag;
    }
    
    static {
        log = LoggerFactory.getLogger((Class)RuleTranInf.class);
    }
}
